#include<REGX52.H>
#include"LCD.H"
#include"Delay.H"

int result = 0;

int main()
{
    /*
     LCD_Init();
     LCD_ShowChar(1,1,'A');
     LCD_ShowString(1,3,"hello");
     LCD_ShowNum(1,9,123,2);
     LCD_ShowSignedNum(1,12,-11,2);
     LCD_ShowHexNum(2,1,0xA8,2);
     LCD_ShowBinNum(2,4,0xAA,4);
     */
    LCD_Init();
     while(1)
     {
        result ++;
        Delay(1000);
        LCD_ShowNum(1,2,result,4);
        if(result == 10)
        {
         result = 123;
         
        }
        


     }
}